package com.liyang.springcloud;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.netflix.eureka.server.EnableEurekaServer;

/**
 * @BelongsProject: cloud-2024
 * @BelongsPackage: com.liyang.springcloud
 * @Author: liyang
 * @CreateTime: 2023-12-22  14:33
 * @Description: Euraka  注册中心
 * @Version: 1.0
 */
@SpringBootApplication
@EnableEurekaServer    // 设置为服务注册中心 EurekaServer
public class EurekaMain7001 {

    public static void main(String[] args) {
        SpringApplication.run(EurekaMain7001.class, args);
        System.out.println("EurekaServer7001启动成功");
    }
}
